package com.akkainaction.remote.rpc.server;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;
import com.typesafe.config.ConfigFactory;

public class Main {

    public static void main(String[] args) {
        ActorSystem system = ActorSystem.create("sys", ConfigFactory.load("remote-client.conf"));
        ActorRef clientActor = system.actorOf(Props.create(UserClientActor.class), "userClientActor");
        clientActor.tell("talk",ActorRef.noSender());
    }
}
